package com.example.travel.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import nonapi.io.github.classgraph.json.Id;

/**
 * @Author : LinQingLiang
 * @file : UserSpot.java
 * @Since : 2023/2/26 10:35
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_spot")
public class UserSpot {

    private Integer userId;
    private Integer spotId;
    @TableId(type = IdType.AUTO)
    private Integer id;
}
